# -*- coding: UTF-8 -*-

import subprocess

proc = subprocess.Popen(r"C:\Windows\System32\calc.exe")
try:
    outs, errs = proc.communicate(timeout=15)
except subprocess.TimeoutExpired:
    proc.kill()
    outs, errs = proc.communicate()
